﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LLServer.Data
{
    public class User
    {
        private int id;
        private string username;
        private string password;
        private string email;
        private DateTime registration_date;
        private DateTime last_activity_date;
        private bool connected;
        private Captain cpt;
        private AccountSettings settings;

        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        public string Username
        {
            get { return username; }
            set { username = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string Email
        {
            get { return email; }
            set { email = value; }
        }

        internal Captain Cpt
        {
            get { return cpt; }
            set { cpt = value; }
        }

        public User()
        {

        }

        public User(string username, string password, string email, Captain captain)
        {
            this.username = username;
            this.password = password;
            this.email = email;
            this.cpt = captain;
        }
    }
}
